package com.ly.pojo.query;

import lombok.Data;
import jakarta.validation.constraints.NotNull;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 获取系统维护日志入参
 *
 * @author Administrator
 * @date 2025-03-07 10:51:13
 */
@Data
public class MaintenanceLogQuery {

    /**
     * 开始时间:必填
     */
    @NotNull(groups = { QueryGroup.class }, message = "开始时间不能为空")
    @Schema(description = "开始时间:必填")
    private Date startTime;

    /**
     * 结束时间:必填
     */
    @NotNull(groups = { QueryGroup.class }, message = "结束时间不能为空")
    @Schema(description = "结束时间:必填")
    private Date endTime;
}
